package com.bemes.ecmn.model;

import java.util.ArrayList;
import java.util.List;

public abstract class ECMNCompositionObject extends ECMNLinkableObject {

	List<ECMNConnector> m_connectors;
	
	public ECMNCompositionObject()
	{
		m_connectors = new ArrayList<ECMNConnector>();
	}
	
	@Override
	public final ECMNEnum getObjectType() {
		return (ECMNEnum.COMPOSITION_OBJECT);
	}
	
	public boolean AddConnector(ECMNConnector con)
	{
		if(con != null)
		{
			m_connectors.add(con);
			return true;
		}
		else
		{
			return false;
		}
	}	
}
